import { Anchor } from "antd";
import MarkNav from "markdown-navbar";
import "markdown-navbar/dist/navbar.css";
import { Component } from "react";

export default class Catalogue extends Component {
	render() {
		return (
			<Anchor showInkInFixed={true}>
				<MarkNav source={this.props.articleDetail} headingTopOffset={80} />
			</Anchor>
		);
	}
}
